import { DefaultUser } from "next-auth";

// 扩展 NextAuth 用户类型
declare module "next-auth" {
  interface User extends DefaultUser {
    id: string;
  }
  
  interface Session {
    user: User;
  }
}

// 扩展 JWT 类型
declare module "next-auth/jwt" {
  interface JWT {
    id: string;
  }
}

// 登录表单类型
export interface LoginFormValues {
  email: string;
  password: string;
  remember?: boolean;
}

// 注册表单类型
export interface RegisterFormValues {
  name: string;
  email: string;
  password: string;
  confirmPassword: string;
} 